package com.goldman.aplt.service.packet;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.goldman.aplt.entity.packet.ApsPacketExtend;
import com.goldman.aplt.repo.packet.ApsPacketExtendMapper;
import org.springframework.stereotype.Service;

@Service
public class ApsPacketExtendService extends ServiceImpl<ApsPacketExtendMapper, ApsPacketExtend> {

    public void initApsPacketExtend(String trxnSeq, String req, String resp) {
        ApsPacketExtend extend = new ApsPacketExtend();
        extend.setTrxnSeq(trxnSeq);
        extend.setRequestText(req);
        extend.setResponseText(resp);
        save(extend);
    }
}
